package com.wangqinlei.cowims126.service;


import com.wangqinlei.cowims126.pojo.Cow;
import com.wangqinlei.cowims126.util.PageBean;

import java.util.List;
import java.util.Map;

/**
 * @Classname StudentService
 * @Description None
 * @Date 2019/6/27 14:11
 * @Created by WDD
 */
public interface CowService {
    PageBean<Cow> queryPage(Map<String, Object> paramMap);

    int deleteCow(List<Integer> ids);

    int addCow(Cow student);

    Cow findById(Integer sid);

    int editCow(Cow student);

    Cow findByCow(Cow student);

    boolean isCowByCategoryId(Integer next);


    int findBySn(String sn);
}
